From 5b146804bbec65aeddfb7b293468138ea0bbbb38 Mon Sep 17 00:00:00 2001 From: martin rudalics Date: Mon, 18 Jun 2012 08:22:22 +0200 Subject: [PATCH] Completely remove stringp check in special-display-p. * window.el (special-display-p): Completely remove stringp check. Suggested by Andreas Schwab . --- lisp/ChangeLog | 5 +++++ lisp/window.el | 2 -- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 45946d47819..e32e1611d89 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-06-18 Martin Rudalics + + * window.el (special-display-p): Completely remove stringp + check. Suggested by Andreas Schwab . + 2012-06-17 Michael Albinus * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'. diff --git a/lisp/window.el b/lisp/window.el index 62cd226daec..6ea882d1ea2 100644 --- a/lisp/window.el +++ b/lisp/window.el @@ -4192,8 +4192,6 @@ or matches BUFFER-NAME, the return value is the cdr of that entry." (let (tmp) (cond - ((not (stringp buffer-name)) - (error "Invalid buffer name %s" buffer-name)) ((member buffer-name special-display-buffer-names) t) ((setq tmp (assoc buffer-name special-display-buffer-names)) -- 2.30.2